package cn.com.huzo.service.financial;

import cn.com.huzo.model.entities.inventory.ReportInventoryDetailEntity;
import huzofw.service.GenericManager;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 晚到货订单数据一览表管理服务对象接口。
 *
 * @author 吴旭
 */
public interface ReportLateArrivalPoManager extends GenericManager<ReportInventoryDetailEntity, HashMap> {

    /**
     * 取得晚到货订单数据
     *
     * @param criterion 给定的条件
     * @return 晚到货订单数据
     * @throws java.lang.Exception
     */
    List<ReportInventoryDetailEntity> fetchReportData(Map<String, Object> criterion) throws Exception;

    /**
     * 晚到货对账扣款单
     *
     * @param criterion
     * @return
     * @throws java.lang.Exception
     */
    List<Map<String, Object>> fetchLateArrivalCutPayabledAmount(Map<String, Object> criterion) throws Exception;
}
